WooCommerce\Facebook\Framework\Utilities\BackgroundJobHandler B

Total Complexity 93
Dependencies 5
Dependents 0
Total lines 1,016
Lines of code 403
Logical lines of code 221
Comment lines 455
Methods 34
Properties 7

Methods 34

Method Rating Maintainability Complexity Lines of code
process_job()
A
44 15 42
get_jobs()
S
45 6 41
get_job()
S
47 4 39
handle()
S
58 5 15
maybe_handle()
S
55 4 20
fail_job()
S
58 4 16
create_job()
S
49 3 31
get_memory_limit()
S
62 4 11
translate_success_message()
S
69 4 6
complete_job()
S
61 3 13
update_job()
S
62 3 12
delete_job()
S
62 3 11
handle_shutdown()
S
68 3 7
test_connection()
S
68 3 6
handle_cron_healthcheck()
S
66 3 10
is_queue_empty()
S
57 1 18
time_exceeded()
S
66 2 8
memory_exceeded()
S
64 2 9
lock_process()
S
68 2 6
run_debug_tool()
S
64 2 10
schedule_cron_healthcheck()
S
63 2 9
schedule_event()
S
72 2 5
clear_scheduled_event()
S
71 2 6
add_debug_tool()
S
65 1 9
handle_connection_test_response()
S
78 1 4
update_job_option()
S
66 1 8
__construct()
S
70 1 6
process_item()
S
100 1 0
complete()
S
82 1 3
add_hooks()
S
66 1 7
unlock_process()
S
76 1 4
is_process_running()
S
74 1 4
dispatch()
S
77 1 4
get_identifier()
S
82 1 3